package com.zpb.framework.domain.entity;

import java.io.Serializable;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * 用户和角色关联表(UserRole)实体类
 *
 * @author makejava
 * @since 2025-09-22 21:18:13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_user_role")
public class UserRole implements Serializable {
    private static final long serialVersionUID = -12175810922285117L;

    /**
     * 用户ID
     */
    @TableId(value = "")
    private Long userId;
    /**
     * 角色ID
     */
    private Long roleId;

}
